#include "LearnDesignPattern.h"
#include <iostream>

using namespace std;

void showDesignPatternDemoMenu()
{
	cout << "**********************************************************" << endl;
	cout << "DesignPattern(设计模式) 学习案例菜单:" << endl;
	cout << "输入对应选项索引号并回车进入：" << endl;
	cout << "  1. 单例模式" << endl;
	cout << "  Q. 退出；" << endl;
	cout << "**********************************************************" << endl;
	cout << "请输入:" << endl;
}

void gotoDesignPatternDemoMenu()
{
    char commond;
	while (showDesignPatternDemoMenu(), cin >> commond, 'q' != tolower(commond))
	{
		switch (tolower(commond))
		{
		case '1':
			break;
		}
	}
}
